package com.onluy.sysman.param;

import com.fasterxml.jackson.annotation.JsonEnumDefaultValue;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiResponse;

import javax.validation.constraints.NotNull;

public class MakeEntityParam {

    @ApiModelProperty(value="表名" )
    @NotNull(message = "表名不能为空！")
    private String tableName;


    private String driver ="com.mysql.jdbc.Driver" ;

    @ApiModelProperty(value="数据库连接地址"   )
    @NotNull(message = "数据库连接地址不能为空！")
    private String url  ="jdbc:mysql://39.104.144.234:3306/onluy_department?useUnicode=yes&characterEncoding=UTF8";

    @ApiModelProperty(value="数据库登录名"  )
    @NotNull(message = "数据库登录名不能为空！")
    private String username ="root" ;

    @ApiModelProperty(value="数据库密码" )
    @NotNull(message = "数据库密码不能为空！")
    private String passWord ="Wj.123456" ;

    @ApiModelProperty(value="生成的包名" )
    @NotNull(message = "生成的包名不能为空！")
    private String packageName = "com.onluy.sysman.entity";

    @ApiModelProperty(value="类生成地址" )
    @NotNull(message = "类生成地址不能为空！")
    private String packagPath = "E:\\WorkSpace\\cloud-web\\walk-sysman\\src\\main\\java\\com\\onluy\\sysman\\entity";

    public String getPackagPath() {
        return packagPath;
    }

    public void setPackagPath(String packagPath) {
        this.packagPath = packagPath;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

}
